<?php
$objRequest 	= $this->_request;
$intProvinceId	= $objRequest->getParam('province',0);
$objCommon		= new Ecore_Common();
$arrDistrict	= $objCommon->getDistrict($intProvinceId);
$objView 		= Zend_Registry::get('objView');
$this->view->arrDistrict = $arrDistrict;
$strData		= $objView->fetch('ajax/district.tpl');
$arrJson = array('data'=>$strData);
echo $objRequest->getParam('callback') . '(' . Zend_Json::encode($arrJson) . ')';
exit();